package com.gla.market.entity;

import java.io.Serializable;

public class AddressItem implements Serializable {
    private Integer id;
    private String area;
    private String name;
    private int user_id;
    private String getman;
    private String phone;
    private int is_default;

    private int itemType;

    public AddressItem(){}
    public AddressItem(Integer id, String area, String name, int user_id, String getman, String phone, int is_default, int itemType) {
        this.id = id;
        this.area = area;
        this.name = name;
        this.user_id = user_id;
        this.getman = getman;
        this.phone = phone;
        this.is_default = is_default;
        this.itemType = itemType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getGetman() {
        return getman;
    }

    public void setGetman(String getman) {
        this.getman = getman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getIs_default() {
        return is_default;
    }

    public void setIs_default(int is_default) {
        this.is_default = is_default;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    @Override
    public String toString() {
        return "AddressItem{" +
                "id=" + id +
                ", area='" + area + '\'' +
                ", name='" + name + '\'' +
                ", user_id=" + user_id +
                ", getman='" + getman + '\'' +
                ", phone='" + phone + '\'' +
                ", is_default=" + is_default +
                ", itemType=" + itemType +
                '}';
    }
}
